This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: java.policy settings outside main grant not working
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Security
Platform: Windows
Release: 8.5.3
Reproducible: Always
Hi,
I have put some jars in the jvm/lib/ext foldder for use in some classes in my database. Everything works except security.
If I place "permission java.security.AllPermission;" (no quotes) in my main grant of the java.policy, everything works, but if I try to narrow it down to a separate grant for just the database with the classes and just the jars in the ext folder, I receive all sorts of security exceptions. For example, I receive a reflection exception because one of the jars is performing reflection.
Here are the two separate grants I have attempted to use together in the file:
grant codeBase "file:/C:/path_to_domino_server_program_directory/jvm/lib/ext/-" {
permission java.security.AllPermission;
}
grant codeBase "xspnsf://server:0/path_to_database/database.nsf/-" {
permission java.security.AllPermission;
};
Feedback number WEBB94YPMD created by ~Alexis Deswezenakol on 02/16/2013
Status: Open
Comments: